import com.bite.www.TestDemo;//具体到某一个类中


public class test {
    public static void main(String[] args) {
        Student student1=new Student("李四",11,"20251102");
        student1.show();
    }
    public static void main2(String[] args) {
        TestDemo testDemo=new TestDemo();
        testDemo.test();
    }
    public static void main1(String[] args) {
        //类和对象
        Student student1=new Student();//通过new关键子来实例化的
        Student student2=new Student("李四",11,"20251102");
        student1.name="zhangsan";
        student1.age=10;
        student1.stunum="20251001";
        System.out.println(student1.name);
        System.out.println(student1.age);
        System.out.println(student1.stunum);
        student1.doClass();
        student1.setKemu("shuxue");
        System.out.println(student1.getKemu());

    }
}
